<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>系统登录</title>
    <!-- 引入js,css资源-->
    <%@include file="common/head.jsp" %>
    <!-- 引入jstl -->
    <%@include file="common/taglib.jsp" %>
    <!-- 引入js -->
    <link href="/resources/css/login.css" rel="stylesheet">
    <script src="/resources/js/login.js"></script>

</head>
<body>
    <div class="container">
        <div class="alert fade  col-sm-12 text-center alert-msg" id="alertMsg">${msg}</div>
        <form class="form-signin" method="post" action="/login/validate">
            <h2 class="form-signin-heading">职工管理系统</h2>
            <label for="yhm" class="sr-only">用户名</label>
            <input type="username" name="yhm" id="yhm" class="form-control" placeholder="用户名" required autofocus>
            <label for="mm" class="sr-only">密码</label>
            <input type="password" name="mm" id="mm" class="form-control" placeholder="密码" required>

            <button class="btn btn-lg btn-primary btn-block" type="submit">登陆</button>
        </form>

    </div> <!-- /container -->
</body>
</html>
